package cn.donzell.model;

import java.math.BigDecimal;
import top.ibase4j.core.base.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 商品
 * </p>
 *
 * @author Donzell
 * @since 2019-02-13
 */
@ApiModel("商品")
@SuppressWarnings("serial")
public class AntGoods extends BaseModel {

    @ApiModelProperty(value = "名称")
	private String name;
    @ApiModelProperty(value = "状态(1:上架,2:下架)")
	private Integer goodsStatus;
    @ApiModelProperty(value = "规格")
	private String sku;
    @ApiModelProperty(value = "描述")
	private String goodsDesc;
    @ApiModelProperty(value = "价格")
	private BigDecimal price;
    @ApiModelProperty(value = "原价")
	private BigDecimal rawPrice;
    @ApiModelProperty(value = "图片")
	private String imageUrl;


	public String getName() {
		return name;
	}

	public AntGoods setName(String name) {
		this.name = name;
		return this;
	}

	public Integer getGoodsStatus() {
		return goodsStatus;
	}

	public AntGoods setGoodsStatus(Integer goodsStatus) {
		this.goodsStatus = goodsStatus;
		return this;
	}

	public String getSku() {
		return sku;
	}

	public AntGoods setSku(String sku) {
		this.sku = sku;
		return this;
	}

	public String getGoodsDesc() {
		return goodsDesc;
	}

	public AntGoods setGoodsDesc(String goodsDesc) {
		this.goodsDesc = goodsDesc;
		return this;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public AntGoods setPrice(BigDecimal price) {
		this.price = price;
		return this;
	}

	public BigDecimal getRawPrice() {
		return rawPrice;
	}

	public AntGoods setRawPrice(BigDecimal rawPrice) {
		this.rawPrice = rawPrice;
		return this;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public AntGoods setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
		return this;
	}

}